package com.affectu.search;

import org.jboss.seam.annotations.Name;

import com.affectu.dao.DAOBase;

/**
 * Sep 15, 2008
 * 
 * @author daniel nathan
 */
@Name("searchResultAction")
public class ResultAction extends DAOBase {

	public String lengthConverter(String str) {
		String subStr = "";
		if (str.length() > 200) {
			subStr = str.substring(0, 200) + " ...";
		}
		return subStr;
	}
}
